package hcn.protocol.registration.xml.req;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/2/23 17:43
 */
@XmlRootElement(name = "MsgBody")
public class ExamAppointListXmlReq {

    private ExamVisitReq visit;

    private ExamlabReq labRequest;

    @XmlRootElement(name = "Visit")
    public static class ExamVisitReq{
        private String VisitOrganization;
        private String Hosarea;
        private String QueryType;
        private String MedicalCardType;
        private String MedicalCardId;
        private String IdCardCode;
        private String IdCard;

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "Hosarea")
        public String getHosarea() {
            return Hosarea;
        }

        public void setHosarea(String hosarea) {
            Hosarea = hosarea;
        }

        @XmlElement(name = "QueryType")
        public String getQueryType() {
            return QueryType;
        }

        public void setQueryType(String queryType) {
            QueryType = queryType;
        }

        @XmlElement(name = "MedicalCardType")
        public String getMedicalCardType() {
            return MedicalCardType;
        }

        public void setMedicalCardType(String medicalCardType) {
            MedicalCardType = medicalCardType;
        }

        @XmlElement(name = "MedicalCardId")
        public String getMedicalCardId() {
            return MedicalCardId;
        }

        public void setMedicalCardId(String medicalCardId) {
            MedicalCardId = medicalCardId;
        }

        @XmlElement(name = "IdCardCode")
        public String getIdCardCode() {
            return IdCardCode;
        }

        public void setIdCardCode(String idCardCode) {
            IdCardCode = idCardCode;
        }

        @XmlElement(name = "IdCard")
        public String getIdCard() {
            return IdCard;
        }

        public void setIdCard(String idCard) {
            IdCard = idCard;
        }
    }

    @XmlRootElement(name = "LabRequest")
    public static class ExamlabReq{
        private String EffectiveTimeLow;
        private String EffectiveTimeHigh;
        private String IsAppointment;

        @XmlElement(name = "EffectiveTimeLow")
        public String getEffectiveTimeLow() {
            return EffectiveTimeLow;
        }

        public void setEffectiveTimeLow(String effectiveTimeLow) {
            EffectiveTimeLow = effectiveTimeLow;
        }

        @XmlElement(name = "EffectiveTimeHigh")
        public String getEffectiveTimeHigh() {
            return EffectiveTimeHigh;
        }

        public void setEffectiveTimeHigh(String effectiveTimeHigh) {
            EffectiveTimeHigh = effectiveTimeHigh;
        }

        @XmlElement(name = "IsAppointment")
        public String getIsAppointment() {
            return IsAppointment;
        }

        public void setIsAppointment(String isAppointment) {
            IsAppointment = isAppointment;
        }
    }

    @XmlElement(name = "Visit")
    public ExamVisitReq getVisit() {
        return visit;
    }

    public void setVisit(ExamVisitReq visit) {
        this.visit = visit;
    }

    @XmlElement(name = "LabRequest")
    public ExamlabReq getLabRequest() {
        return labRequest;
    }

    public void setLabRequest(ExamlabReq labRequest) {
        this.labRequest = labRequest;
    }
}
